package com.byzk.p2p.admin.score.dto;

import java.util.Date;

/**
 * 积分流水
 * 
 * @author kwj
 *
 */

public class ScoreRecord {

	private Integer id; //
	private Integer userId;// userid
	private String optType;// 操作类型 (in表示收入积分，out表示支出积分)
	private Integer amount;// 积分数量
	private String way;// 积分途径
	private Date createTime;// 创建时间
	private String terminal;
	private Integer objectId;// 对象id（积分兑换即为积分兑换购买id；其他则为其他对象id）

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getOptType() {
		return optType;
	}

	public void setOptType(String optType) {
		this.optType = optType;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public String getWay() {
		return way;
	}

	public void setWay(String way) {
		this.way = way;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getTerminal() {
		return terminal;
	}

	public void setTerminal(String terminal) {
		this.terminal = terminal;
	}

	public Integer getObjectId() {
		return objectId;
	}

	public void setObjectId(Integer objectId) {
		this.objectId = objectId;
	}
}
